package com.github.niefy.modules.wxma.service;

import cn.binarywang.wx.miniapp.bean.WxMaSubscribeMessage;
import com.github.niefy.modules.wx.form.TemplateMsgBatchForm;
import me.chanjar.weixin.mp.bean.template.WxMpTemplateMessage;

public interface MaTemplateMsgService {
    /**
     * 发送微信模版消息
     */
    void sendTemplateMsg(WxMaSubscribeMessage msg, String appid);

    /**
     * 批量消息发送
     * @param form
     * @param appid
     */
    void sendMsgBatch(TemplateMsgBatchForm form,String appid);

    void sendMaMsg(TemplateMsgBatchForm form);
}
